//
//  LSYFileUtil.h
//  LSYReader
//
//  Created by sam on 2018/3/26.
//  Copyright © 2018年 okwei. All rights reserved.
//

#import "LSYBook.h"
#import "LSYChapter.h"
@interface LSYFileUtil : NSObject
+(NSString *)documentPath;
+(NSString *)imageDir:(LSYBook *)book;
+(NSString *)bookPath:(LSYBook *)book;
+(NSString *)absBookPath:(LSYBook *)book;
+(NSString *)chapterPath:(LSYChapter *)chapter;
+(NSString *)absChapterPath:(LSYChapter *)chapter;
+(NSString *)bookStorePath;
+(NSString *)ruleStorePath; //数据源的保存路径
+(NSString *)absolutePath:(NSString *)path;
+(BOOL)removePath:(NSString *)path;
+(BOOL)removeURL:(NSURL *)fileUrl;
@end
